<!DOCTYPE html>
<html lang="zh-cn">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no" />
<meta name="renderer" content="webkit">
<title></title>
<link rel="stylesheet" href="/admin/css/pintuer.css">
<link rel="stylesheet" href="/admin/css/admin.css">
<script src="/admin/js/jquery.js"></script>
<script src="/admin/js/pintuer.js"></script>

   <meta http-equiv="Content-Type" content="text/html;charset=utf-8"/>
    <script type="text/javascript" charset="utf-8" src="/admin/ueditor/ueditor.config.js"></script>
    <script type="text/javascript" charset="utf-8" src="/admin/ueditor/ueditor.all.min.js"> </script>
    <!--建议手动加在语言，避免在ie下有时因为加载语言失败导致编辑器加载失败-->
    <!--这里加载的语言文件会覆盖你在配置项目里添加的语言类型，比如你在配置项目里配置的是英文，这里加载的中文，那最后就是中文-->
    <script type="text/javascript" charset="utf-8" src="/admin/ueditor/lang/zh-cn/zh-cn.js"></script>

    <style type="text/css">
        div{
            width:100%;
        }
    </style>

</head>
<body>
<div class="panel admin-panel">
  <div class="panel-head" id="add"><strong><span class="icon-pencil-square-o"></span>添加会员</strong></div>
  <div class="body-content">
    <form method="post" class="form-x" action="" enctype="multipart/form-data"> 
    {!!csrf_field()!!} 
      <div class="form-group">
        <div class="label">
          <label>用户名：</label>
        </div>
        <div class="field">
          <input type="text" class="input w50 tss" value="{{$user->user_name}}" name="user_name" data-validate="required:请输入用户名" disabled/>
          <div class="tips"></div>
        </div>
      </div>
       <div class="form-group">
        <div class="label">
          <label>昵称：</label>
        </div>
        <div class="field">
          <input type="text" class="input w50 tss" value="{{$user->user_nick}}" name="user_nick" data-validate="required:请输入用户昵称" disabled/>
          <div class="tips"></div>
        </div>
      </div>
      <div class="form-group">
        <div class="label">
          <label>煤球数量：</label>
        </div>
        <div class="field">
          <input type="text" class="input w50 tss" value="{{$user_games->user_meiqiu}}" name="user_meiqiu" data-validate="required:请输入煤球数量" disabled/>
          <div class="tips"></div>
        </div>
      </div>
      <div class="form-group">
        <div class="label">
          <label>等级：</label>
        </div>
        <div class="field">
          <input type="text" class="input w50 tss" value="{{$user_games->user_level}}" name="user_level" data-validate="required:请输入用户等级" disabled/>
          <div class="tips"></div>
        </div>
      </div>
      <div class="form-group">
        <div class="label">
          <label>经验：</label>
        </div>
        <div class="field">
          <input type="text" class="input w50 tss" value="{{$user_games->user_exp}}" name="user_exp" data-validate="required:请输入用户经验" disabled/>
          <div class="tips"></div>
        </div>
      </div>
     <div class="form-group">
        <div class="label">
          <label>手机号：</label>
        </div>
        <div class="field">
          <input type="text" class="input w50 tss" value="{{$user->user_phone}}" name="user_phone" data-validate="required:请输入手机号" disabled/>
          <div class="tips"></div>
        </div>
      </div>
      <div class="form-group">
        <div class="label">
          <label>邮箱：</label>
        </div>
        <div class="field">
          <input type="text" class="input w50 tss" value="{{$user_exts->user_email}}" name="user_email" data-validate="required:请输入邮箱" disabled/>
          <div class="tips"></div>
        </div>
      </div>
      <div class="form-group">
        <div class="label">
          <label>密保问题：</label>
        </div>
        <div class="field">
          <input type="text" class="input w50" value="{{$user_exts->user_question}}" name="user_question" disabled />
          <div class="tips"></div>
        </div>
      </div>
      <div class="form-group">
        <div class="label">
          <label>密保答案：</label>
        </div>
        <div class="field">
          <input type="text" class="input w50" value="{{$user_exts->user_answer}}" name="user_answer" disabled/>
          <div class="tips"></div>
        </div>
      </div>
      <div class="form-group">
        <div class="label">
          <label>真实姓名：</label>
        </div>
        <div class="field">
          <input type="text" class="input w50" value="{{$user_exts->user_truename}}" name="user_truename" disabled/>
          <div class="tips"></div>
        </div>
      </div><div class="form-group">
        <div class="label">
          <label>身份证号：</label>
        </div>
        <div class="field">
          <input type="text" class="input w50" value="{{$user_exts->user_idcard}}" name="user_idcard" disabled/>
          <div class="tips"></div>
        </div>
      </div>

     
      <div class="clear"></div>
      <div class="form-group">
        <div class="label">
          <label></label>
        </div>
        <div class="field">
        <a class="button border-main" id="xiugai" onclick="bian()"><span class="icon-edit" ></span> 修改内容</a>
          <button class="button bg-main icon-check-square-o" type="submit"> 提交</button>
        </div>
      </div>
    </form>
  </div>
</div>

</body>
<script type="text/javascript">
  function bian(){
  $('.tss').prop('disabled',false);
  $('#xiugai').attr('disabled','disabled');
  }
</script>
</html>
